# #单引号双引号没有区别
# #
# # # print("hello  word!")
# # # print("hello  "
# # #       "word!")
# # # a = "liuxiao"
# # # print(a)
# # int1 = 2
# # print(type(int1))
# # float = 2.01
# # print(type(float))
# # bool = True
# # print(type(bool))
# # char = '12'
# # string1 = "212556"
# # print(type(char))
# # print(type(string))
# # int1 =(int) string
# # # print(int)
# # a=123
# # b="123460"
# # print(b)
# # c=int(b)
# # print(c)
# # print(b)
# # print(a)
# # #输入的函数input
# # name = input("输入姓名: ")
# # print(name)
# name = "liuxiao"
# age = 20
# sex = ("男")
# height = 1.82
# print(f'我的名字是：%s,\n我的年龄是：%d，我的身高是：{height:.2f}'%(name,age))
#
# a = int(input("Enter a number: "))
# b = int(input("Enter a number2:"))
# c=a+b;
# print("The sum of {} and {} is {}".format(a,b,c))
import random

# a=-1
# b=1;
# var = a==0 or b>=1
# print(var)
# var = not var
# print(var)
# print(type(var))

# age = input("What is your age? \n")
# if int(age)>=18 :
#     print("You are")
# else:
#     print
# name=input("Enter your name: \n")
# if name.lower()=="admin":
#     print("Hello")
# else:
#     print("用户名错误")
# name = input("What is your name? \n")
# pwd = input("What is your password? \n")
# if name == "admin" and pwd == '123456':
#     print("登录成功")
# else :
#     print("登录失败")
# name = input("What is your name? \n")
# # if name == "admin":
# #     print(f"Hello {name}!")
# # elif name == "test":
# #     print("Hello{}".format(name))
# # else :
# #     print("查无此人")
# if name == "admin" or name == "test":
#     print("Hello{}".format(name))
# else :
#     print("查无此人")
# smoney=2000
# pwd=input("Enter your password: \n")
# if pwd == "123456":
#     money=int(input("要取多少\n"))
#     if money<=smoney:
#         print("给你")
#         smoney=smoney-money
#     else:
#         print("不够")
#
# else:
#     print("密码错误！")
#
# i=1
# num=0
#
# while i<=100:
#     if i%2==0:
#         num+=i
#     i+=1
#
# print(num)
# my="niahvod"
# # for i in my:
# #     print(i)
# # for i in range(80):
# #     print(random.randint(3,5))
# for i in my:
#     print(i)
#     if i=='v':
#         break
# print(my[-1])
# print(my[6])
# print(my[1:6:2])
# print(my.find('o', 0, 6))
# My=my.replace('o','X')
# print(My)

# my="hello word and itheima and python"
# my1=my.split()
# print(my1)
# list1=['hello','word','and','python']
# my2='123'.join(list1)
# print(my2)
# list2=['hello','word','and','python']
# # list=[]
# # list.append(list2)
# # print(list)
# # list2.append(list1)
# # print(list2[0:2])
# # print(len(list2))
# list2.append(2)
# if 'hello' in list2:
#     print(list2.index('hello'))
# print(list2)
# print(list2.index(2))
# print(list2)
# print(list1)
# list1.extend(list2)
# print(list1)
# list2=list1.copy()
# print(list2)
#
# for i in list2:
#     print(i)
#
# for i in range(5):
#     list2.append(i)
# for i in list2:
#     print(i)
# list = [1,2,3,4,5,6,7,8,9]
# list[0]=2
# print(list)
# list2=list[::-1]
# print(list2)
# list.reverse()
# print(list)
# list3=list.copy()
# print(list3)
# list.sort()
# print(list)
#
# my=tuple()
# print(type(my))
# print(my)
# my=(1,2,3,4,5,6,7,8,9)
# print(my)
#
# x=dict()
# x={1:'one',2:'two',3:'sdhfb'}
# print(x[1])
# print(x)
#
# x[1]=56
# print(x)
# print(x[1])
#
# for i in x.values():
#     print(i)
# for i,j in x.items():
#     print(i,j)
#
# def liuxiao():
#     print('nihao')
#
# liuxiao()

list=[1,2,3,4,5,6,7,8,9,9]
list2=[];
for i in list:
    if i not in list2:
        list2.append(i)
print(list2)


















































